package com.ansatsing.command.simpleRemote;
/**
 * 遥控器：控制与管理命令
 * @author sunyq
 *
 */
public class SimpleRemoteControl {

	Command slot;
	 
	public SimpleRemoteControl() {}
 
	public void setCommand(Command command) {
		slot = command;
	}
 
	public void buttonWasPressed() {
		slot.execute();
	}
}
